package com.syzg.base.person.service;

import com.syzg.base.merge.model.Person;
import com.syzg.common.service.BaseService;
import com.syzg.core.exception.ServiceException;

public interface PersonService extends BaseService<Person>
{

    public abstract void createPerson(Person person, String roleIds[]) throws ServiceException;

    public abstract void updatePerson(Person person, String roleIds[]) throws ServiceException;

    public abstract Person findPerson(String s, String s1) throws ServiceException;

    public abstract void deletePerson(String personIds[]) throws ServiceException;

    public abstract void updatePerson(Person person) throws ServiceException;

    public abstract Person findPersonById(String id) throws ServiceException;

    public abstract void updatePassword(String id, String oldPwd, String newPwd) throws ServiceException;
    
    public abstract Person findPerson(Person p) throws ServiceException;
}